﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mystery.SharePoint
{
	/// <summary>
	/// Interface for exchanging metadata with a control
	/// </summary>
	public interface ISiteMetadataControl
	{
        /// <summary>
        /// Fills in the controls with information in the metadata object
        /// </summary>
        /// <param name="metadata">Object containing data</param>
		void UpdateControls(SiteMetadata metadata);
        /// <summary>
        /// Transfers information from the controls back to the metadata object
        /// </summary>
        /// <param name="metadata">Object to update</param>
		void UpdateMetadata(SiteMetadata metadata);
	}
}
